package cn.wym.ymbill.mapper

import cn.wym.ymbill.model.BillBeen
import java.sql.SQLException

interface BillBeenMapper {

    @Throws(SQLException::class)
    fun deleteByPrimaryKey(id: Int): Int

    @Throws(SQLException::class)
    fun insert(record: BillBeen): Int

    @Throws(SQLException::class)
    fun insertSelective(record: BillBeen): Int

    @Throws(SQLException::class)
    fun selectByPrimaryKey(id: Int): BillBeen?

    @Throws(SQLException::class)
    fun updateByPrimaryKeySelective(record: BillBeen): Int

    @Throws(SQLException::class)
    fun updateByPrimaryKey(record: BillBeen): Int
}